using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class Ap
    {
        public int APID { get; set; }
        public string ID { get; set; }
        public string REFERENCE { get; set; }
        public string INVNO { get; set; }
        public System.DateTime DATE { get; set; }
        public string DESC { get; set; }
        public Nullable<double> BAL { get; set; }
        public Nullable<double> BALDOL { get; set; }
        public Nullable<double> BALVEND { get; set; }
        public Nullable<double> AMT { get; set; }
        public Nullable<double> AMTDOL { get; set; }
        public Nullable<double> AMTVEND { get; set; }
        public Nullable<double> PDTODAY { get; set; }
        public Nullable<double> MPDTODAY { get; set; }
        public Nullable<System.DateTime> DUEDATE { get; set; }
        public string CHECK { get; set; }
        public Nullable<System.DateTime> CKDATE { get; set; }
        public Nullable<System.DateTime> DATEPD { get; set; }
        public string TYPE { get; set; }
        public Nullable<double> DISCOUNT { get; set; }
        public Nullable<double> DISCOUNTD { get; set; }
        public Nullable<double> DISCOUNTV { get; set; }
        public string INVSEQ { get; set; }
        public string ENTITY { get; set; }
        public string MPTYPE { get; set; }
        public string PAYTYPE { get; set; }
        public Nullable<double> JVNO { get; set; }
        public Nullable<double> DOCNUM { get; set; }
        public Nullable<double> PJVNO { get; set; }
        public Nullable<double> PDOCNUM { get; set; }
        public short CURRENCY { get; set; }
        public Nullable<double> MPDTODAYA { get; set; }
        public Nullable<double> MPDTODAYD { get; set; }
        public string VOUCH_DESC { get; set; }
        public Nullable<double> UNAPPLAMT { get; set; }
        public Nullable<double> UNAPPLAMTA { get; set; }
        public Nullable<double> UNAPPLAMTD { get; set; }
        public short PAYERTYPE { get; set; }
        public Nullable<bool> SEMIPOSTED { get; set; }
        public Nullable<bool> POSTED { get; set; }
        public Nullable<double> OLDMPDA { get; set; }
        public Nullable<double> OLDMPDD { get; set; }
        public Nullable<double> OLDMPD { get; set; }
        public Nullable<bool> MODOLDMPD { get; set; }
        public string BATCH { get; set; }
        public string INPABATCH { get; set; }
        public string REF { get; set; }
        public string PV { get; set; }
        public string File_Primary_Key { get; set; }
        public Nullable<bool> ISOPENING { get; set; }
        public virtual Vend Vend { get; set; }
    }
}
